<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Title");




CModule::IncludeModule("iblock");
$result = CIBlockElement::GetList(array("DATE_CREATE_UNIX"=>"DESC"),array("IBLOCK_TYPE"=>"catalog"),false,array("nTopCount"=>10));

$counter=0;
while($res = $result->GetNextElement()):
	arrprint($res->GetProperties());
	$counter++;
endwhile;
echo $counter;
?>